home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 March / Pc Users extra 6.iso / pshare95 / prog / aicons / vb4demo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-07-25  |  2.0 KB  |  66 lines

  1. VERSION 4.00
  2. Begin VB.Form Form1 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "Animation Form Icon ActiveX Demo"
  5.    ClientHeight    =   1920
  6.    ClientLeft      =   1095
  7.    ClientTop       =   1485
  8.    ClientWidth     =   6240
  9.    Height          =   2325
  10.    Left            =   1035
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   1920
  15.    ScaleWidth      =   6240
  16.    Top             =   1140
  17.    Width           =   6360
  18.    Begin VB.CommandButton Command2 
  19.       Caption         =   "Stop"
  20.       Height          =   495
  21.       Left            =   4440
  22.       TabIndex        =   1
  23.       Top             =   1080
  24.       Width           =   1575
  25.    End
  26.    Begin VB.CommandButton Command1 
  27.       Caption         =   "Play"
  28.       Height          =   495
  29.       Left            =   4440
  30.       TabIndex        =   0
  31.       Top             =   360
  32.       Width           =   1575
  33.    End
  34.    Begin VB.Label Label1 
  35.       Caption         =   "Animation Form Icon ActiveX"
  36.       Height          =   1215
  37.       Left            =   240
  38.       TabIndex        =   2
  39.       Top             =   360
  40.       Width           =   3975
  41.    End
  42.    Begin AniForm.AniForm AniForm1 
  43.       Left            =   4440
  44.       OleObjectBlob   =   "VB4Demo.frx":0000
  45.       Top             =   120
  46.    End
  47. Attribute VB_Name = "Form1"
  48. Attribute VB_Creatable = False
  49. Attribute VB_Exposed = False
  50. Private Sub Command1_Click()
  51.     aniform1.Play
  52. End Sub
  53. Private Sub Command2_Click()
  54.     aniform1.Stop
  55. End Sub
  56. Private Sub Form_Load()
  57.     t = "Animation Form Icon ActiveX 1.00c" & Chr(10) & Chr(13)
  58.     t = t & "Copyright (C) 1997, Jin Hui" & Chr(10) & Chr(13)
  59.     t = t & Chr(10) & Chr(13)
  60.     t = t & "E-mail: shjh@usa.net" & Chr(10) & Chr(13)
  61.     t = t & "Homepage: http://www.toptown.com/nowhere/jinhui"
  62.     Label1 = t
  63.     aniform1.hWnd = Form1.hWnd
  64.     aniform1.Play
  65. End Sub
  66.